package com.milling.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.milling.common.annotation.Excel;
import com.milling.common.core.domain.BaseEntity;

/**
 * 盒子信息对象 wms_box_info
 *
 * @author X
 * @date 2025-05-23
 */
public class WmsBoxInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /**  */
    private Long id;

    /** 盒子编码 */
    @Excel(name = "盒子编码")
    private String boxCode;

    /** 盒子数据 */
    @Excel(name = "盒子数据")
    private String boxData;

    /** 同料标记：1-同料； 2-不同料 */
    @Excel(name = "同料标记：1-同料； 2-不同料")
    private String sameFlag;

    /** 状态  ：0-正常；1-已解绑； */
    @Excel(name = "状态  ：0-正常；1-已解绑；")
    private String boxStatus;

    /** 下料标记： 0-正常； 2-非正常 */
    @Excel(name = "下料标记： 0-正常； 2-非正常")
    private String cuttingFlag;

    /** 设备编号 */
    @Excel(name = "设备编号")
    private String macCode;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setBoxCode(String boxCode)
    {
        this.boxCode = boxCode;
    }

    public String getBoxCode()
    {
        return boxCode;
    }
    public void setBoxData(String boxData)
    {
        this.boxData = boxData;
    }

    public String getBoxData()
    {
        return boxData;
    }
    public void setSameFlag(String sameFlag)
    {
        this.sameFlag = sameFlag;
    }

    public String getSameFlag()
    {
        return sameFlag;
    }
    public void setBoxStatus(String boxStatus)
    {
        this.boxStatus = boxStatus;
    }

    public String getBoxStatus()
    {
        return boxStatus;
    }
    public void setCuttingFlag(String cuttingFlag)
    {
        this.cuttingFlag = cuttingFlag;
    }

    public String getCuttingFlag()
    {
        return cuttingFlag;
    }
    public void setMacCode(String macCode)
    {
        this.macCode = macCode;
    }

    public String getMacCode()
    {
        return macCode;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("boxCode", getBoxCode())
                .append("boxData", getBoxData())
                .append("sameFlag", getSameFlag())
                .append("boxStatus", getBoxStatus())
                .append("cuttingFlag", getCuttingFlag())
                .append("macCode", getMacCode())
                .append("remark", getRemark())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .toString();
    }
}
